<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<h1>学生登录界面</h1>
<form method="POST" th:action="@{/login}" id="loginForm">
    <!-- end::thAction[] -->
    <label for="username">用户名 </label>
    <input type="text" name="username" id="username" />

    <label for="password">密码：: </label>
    <input type="password" name="password" id="password" />

    <input type="submit" value="登录"/>

</form>

</body>
</html>